//引入请求库
import http from "@/utils/http2";

/**
 * 查询客户
 * @param data
 * @returns {*}
 */
export function queryCustomer(data) {
  return http.post("/api/customer/list", data);
}

/**
 * 保存客户
 * @param data
 * @returns{*}
 */
export function saveCustomer(data){
  return http.post("/api/customer", data);
}

